package com.shxt.framework.rbac.user.model;

import java.io.Serializable;
import com.shxt.framework.rbac.role.model.Role;

public class User implements Serializable{
	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private Integer user_id;

	private String account;

	private String password;

	private Integer status;

	private String photo;

	private Integer role_id;

	private Role role;

	public Integer getUser_id() {
		return this.user_id;
	}

	public void setUser_id( Integer user_id ) {
		this.user_id = user_id;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount( String account ) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword( String password ) {
		this.password = password;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus( Integer status ) {
		this.status = status;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto( String photo ) {
		this.photo = photo;
	}

	public Integer getRole_id() {
		return this.role_id;
	}

	public void setRole_id( Integer role_id ) {
		this.role_id = role_id;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole( Role role ) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "User [user_id=" + this.user_id + ", account=" + this.account + ", password=" + this.password
				+ ", status=" + this.status + ", photo=" + this.photo + ", role_id=" + this.role_id + ", role="
				+ this.role + "]";
	}
}